$OpenBSD: patch-src_diagram_c,v 1.1 2016/03/07 09:31:32 benoit Exp $
--- src/diagram.c.orig	Mon Mar  7 10:20:53 2016
+++ src/diagram.c	Mon Mar  7 10:21:19 2016
@@ -22,6 +22,7 @@
 #endif
 
 #include <arpa/inet.h>
+#include <sys/socket.h>
 
 #include <gnome.h>
 #include <regex.h>
